// 定义一个vue插件

// 引入公用组件
import MyBread from '@/components/my-bread'
import MyChannel from '@/components/my-channel'
import MyImage from '@/components/my-image'
// 导入axios
import axios from '@/api'
export default {
    // 安装函数
    install (Vue) {
        Vue.component(MyBread.name,MyBread);
        Vue.component(MyChannel.name, MyChannel);
        Vue.component(MyImage.name, MyImage);
        Vue.prototype.$http = axios;
    }
}




